package com.fan.shop.services;

import java.math.BigDecimal;
import java.util.List;

import com.fan.shop.domain.StockReq;
import com.fan.shop.domain.StockReqLine;
import com.fan.shop.model.userclass.StockReqLineUserClass;

public interface StockReqService extends ShopService {

	public StockReq getStockReq(String requisitionNo);

	public List<StockReq> getAllStockReqs();

	public int getSize();

	public void addStockReq(StockReq stockReq);

	public void updateStockReq(StockReq stockReq);

	public void deleteStockReq(StockReq stockReq);

	public boolean hasStockReq(String requisitionNo);

	public List<String> getColumnNames();

	public BigDecimal getTotalPrice(String requisitionNo);

	public int getTotalQty(String requisitionNo);

	public List<StockReqLine> getStockReqLines(String requisitionNo);
	
	public List<StockReqLineUserClass> getStockReqLinesUserClasses(String requisitionNo);

}
